SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO

CREATE PROCEDURE [dbo].gspSiteEventType_INSERT
(
@code AS int = null,
@name AS nvarchar(100) = null
)
AS

INSERT INTO
  [dbo].[SiteEventType]
(
  [Code],
  [Name]
)
VALUES
(
  @code,
  @name
)

SELECT SCOPE_IDENTITY()

GO
